/*
 * @Author: your name
 * @Date: 2020-12-10 10:30:26
 * @LastEditTime: 2020-12-18 09:32:35
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \uniapp-ts-uview\src\api\login.ts
 */
import request from "@/utils/request";
interface User {
    username: string,
    password: string
}
export function login(user: User) {
    return request({
        url: "api/common.user_Public/login",
        methods: 'POST',
        data: user
    })
}
